import request from '../../request.js'


/**
 * 查询对应标签的商品信息
 * 
 */
function getCommDicByType(commType, page) {
	return request({
		url: '/api/wx/comm/list/comm',
		method: 'POST',
		data: 
		{
			commName: '',
			commType: commType,
			page: page,
			size: 10
		},
		header: {
			Authorization: uni.getStorageSync('token'),
			'Content-Type': 'application/x-www-form-urlencoded'
		},
	})
}

//一定要声明暴露函数，可以被引用 
module.exports = {
	getCommDicByType
}